package com.xiao.springcloud.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Result<T> {
    private boolean flag;
    private String mes;
    private T data;
    public Result(boolean flag, String mes){
        this(flag, mes, null);
    }
}
